package cn.iocoder.yudao.module.locale.controller.app.tabledata.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 表数据国际化 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppTableDataRespVO {

    @Schema(description = "元数据Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26739")
    @ExcelProperty("元数据Id")
    private Long id;

    @Schema(description = "语言代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("语言代码")
    private String languageCode;

    @Schema(description = "表名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("表名")
    private String tableName;

    @Schema(description = "行Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24644")
    @ExcelProperty("行Id")
    private String rowId;

    @Schema(description = "列名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("列名")
    private String columnName;

    @Schema(description = "列原始的值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("列原始的值")
    private String columnRawValue;

    @Schema(description = "列翻译的值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("列翻译的值")
    private String columnTranslatedValue;

    @Schema(description = "分类排序")
    @ExcelProperty("分类排序")
    private Integer sort;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("开启状态")
    private Integer status;

    @Schema(description = "创建者")
    @ExcelProperty("创建者")
    private String creator;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}